package com.ms.client.monitor.api.service;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.ms.client.monitor.api.pojo.PrjApi;
import com.ms.msclient.MsClient;
import com.ms.msclient.MsClientResponse;

@MsClient(value="${service.id.monitor}", defalut="ms-cloud-monitor")
public interface ApiPrjApiService {

	/**
	 * 批量保存API信息
	 * @param code
	 * @param detailString
	 * @return
	 */
	@RequestMapping(value = "/api/prjApi/saveBatch")
	public MsClientResponse<PrjApi> saveBatch(@RequestParam("code")String code, @RequestParam("detailString")String detailString);
	/**
	 * 批量保存项目API的为未使用
	 * @param code
	 * @return
	 */
	@RequestMapping(value = "/api/prjApi/updateNotUse")
	public MsClientResponse<PrjApi> updateNotUse(@RequestParam("code")String code);

}
